package com.scmt.hmzd.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户配送地址
 * </p>
 *
 * @author ycy
 * @since 2023-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HmUserAddr对象", description="用户配送地址")
public class HmUserAddr implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "addr_id", type = IdType.AUTO)
    private Long addrId;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "姓名")
    private String receiver;

    @ApiModelProperty(value = "详细地址")
    private String addr;

    @ApiModelProperty(value = "定位地址")
    private String locationAddr;

    @ApiModelProperty(value = "经度")
    private BigDecimal lng;

    @ApiModelProperty(value = "纬度")
    private BigDecimal lat;

    @ApiModelProperty(value = "手机")
    private String mobile;

    @ApiModelProperty(value = "状态,1正常，0无效")
    private Integer delFlag;

    @ApiModelProperty(value = "是否默认地址 1是")
    private Integer commonAddr;

    @ApiModelProperty(value = "建立时间")
    private Date createTime;


}
